package net.ewon.avatar.agent;

import java.io.IOException;
import java.util.List;

import net.ewon.avatar.common.pkg.AvatarPackage;


/**
 * environmentName should not contain the File separator
 * 
 * @author ewon
 * 
 */
public interface RuntimeEnvironment {

	public void deploy(String environmentName, List<AvatarPackage> avatarPackages)
			throws IOException;

	public String getRuntimeEnvironmentRoot();

	public void restart(String environmentName) throws IOException;

	public void startup(String environmentName) throws IOException;

	public void shutdown(String environmentName) throws IOException;
}
